package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.DoctorJobTitle;
import com.ym.medical.enums.HospitalLevelEnum;
import com.ym.medical.enums.PatientDetailRelationEnum;
import com.ym.medical.enums.UserSexEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: 李涛
 * @version: 2019年07月12日 15:35
 */
@Data
public class GrabAndAnswerVo {

	@ApiModelProperty("订单id")
	private Long id;

	@ApiModelProperty("聊天室ID")
	private Long roomMainId;

	@ApiModelProperty("患者ID")
	private Long patientId;

	@ApiModelProperty("患者云信账户")
	private String patientAccid;

	@ApiModelProperty("患者云信密码")
	private String patientPwd;

	@ApiModelProperty("患者与本人关系")
	@JsonSerialize(converter = PatientDetailRelationEnum.Covert.class)
	private String relation;

	@ApiModelProperty("咨询内容")
	private String content;

	@ApiModelProperty("咨询附件")
	private String attach;

	@ApiModelProperty("患者名称")
	private String patientName;

	@ApiModelProperty("患者头像")
	private String patientHead;

	@ApiModelProperty("患者年龄")
	private String patientAge;

	@ApiModelProperty("患者性别")
	@JsonSerialize(converter = UserSexEnum.Covert.class)
	private String patientSex;

	@ApiModelProperty("最大聊天次数")
	private String chatMaxNum;

	/**
	 * 医生ID
	 */
	@ApiModelProperty("医生ID")
	private Long doctorId;

	/**
	 * 医生名字
	 */
	@ApiModelProperty("医生名字")
	private String doctorName;

	/**
	 * 科室类型
	 */
	@ApiModelProperty("科室类型")
	private String doctorType;

	/**
	 * 医生头像
	 */
	@ApiModelProperty("医生头像")
	private String doctorHead;

	@ApiModelProperty("医生职称")
	@JsonSerialize(converter = DoctorJobTitle.Covert.class)
	private String doctCategory;

	@ApiModelProperty("医生医院")
	private String hosName;

	@ApiModelProperty("医生医院等级")
	@JsonSerialize(converter = HospitalLevelEnum.Covert.class)
	private String hosLevel;
}
